home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 46
/
Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso
/
-serious-
/
hardware
/
porthandler
/
porthandler.doc
< prev
next >
Wrap
Text File
|
1999-09-06
|
3KB
|
76 lines
port-handler v41.4
COPYRIGHT AND DISCLAIMER
port-handler v41 is copyrighted 1998 by Stephan Rupprecht. All
rights reserved. This program is freeware, so no financial donations
required. Redistribution allowed if the package is left unchanged.
The author is not responsible for any damage caused by the use or
misuse of this documentation and/or the program(s) it describes.
port-handler is partly based on:
ComHandler.c (C) 1989, 1993 by Ralph Babel, Amiga Guru Book p.643ff
Port-Handler.asm (C) 1986 John A. Toebes, VIII (AmigaLibDisk #20)
REQUIREMENTS
Any Amiga® (compatible) computer with at least OS2.04.
DESCRIPTION
port-handler v41 replaces the original l:port-handler that manages
the AmigaDOS devices SERx:, PAR: and PRT:. In opposite to the original
handler my version allows you to create new dos devices that can
manage the ports of an i/o-board (pre v41 port-handlers didn't support
third-party parallel.devices). The following mountlist entry illustrates
how to create a new device called HPAR: that accesses hyperPAR.device
(HyperCOM io-boards by VMC) for reading and writing.
HPAR:
EHandler = L:port-handler
Stacksize = 1024
Priority = 5
Device = hyperPAR.device
Unit = 0
Flags = 0
Baud = 0
#
You must set Baud to 0 for parallel.devices because Mount always tells
port-handler to use a baudrate of 1200 when Baud is not specified!
Because of this port-handler thinks that it talks to a serial.device.
(For the advanced user: port-handler v41 tries to query the device
type first, so if it talks to a so-called newstyle device, it'll
automatically find out what kind of device it accesses).
INSTALLATION
All you need is to copy the file "port-handler" to your "L:" drawer.
SPECIAL THANKS GO TO
Stephan Riedelbeck for testing port-handler on his system and debugging.
Jens Gerrit Schröder for giving me the idea of rewriting the handler.
Thomas Richter for his help with the BCPL magic.
HISTORY
41.0 first public release
41.1 port-handler is a single file now. Thanks to Th. Richter for his
help.
41.2 Compiled/Optimized with GNUC. included dosdrivers for all HyperCOM
boards.
41.2a No changes, just added some new dosdrivers for the ioblix board by
RBM.
41.3 hmmm, can't remember :(
41.4 bug: handler no longer terminates before ACTION_DIE/CLOSE
arrives. Before the handler could terminate itself although it
was still in use, this caused certain programs to wait forever
(eg GoldEd) <Thomas Richter>.
bug: handler messed up double-buffered packets.
imp: added a timeout timer of 30seks.
AUTHOR
Stephan Rupprecht
Apfeldweg 1
D-44359 Dortmund
Germany
email:
stephan.rupprecht@gmx.de